Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: move from angular-cli to gulp #948

Merged
merged 22 commits into from
Aug 19, 2016
Merged

build: move from angular-cli to gulp #948

merged 22 commits into from
Aug 19, 2016

Conversation

hansl
Copy link
Contributor

@hansl hansl commented Aug 5, 2016

No description provided.

@hansl hansl added the in progress This issue is currently in progress label Aug 5, 2016
@googlebot googlebot added cla: yes PR author has agreed to Google's Contributor License Agreement labels Aug 5, 2016
@hansl hansl force-pushed the gulp-build branch 5 times, most recently from f2bc3ad to 957b53e Compare August 5, 2016 05:43
@quanterion
Copy link
Contributor

Please, share the reasons behind moving to gulp build. Are you willing to stay with Systemjs or cli is very unstable now?

@hansl
Copy link
Contributor Author

hansl commented Aug 5, 2016

@RemKolomna CLI is moving to WebPack, and as much as it pains me, it's not suitable for libraries (yet). We'll come back to using it when it does.

@hansl hansl force-pushed the gulp-build branch 2 times, most recently from 6ede3f8 to 48627ea Compare August 6, 2016 03:17
@kbtz
Copy link

kbtz commented Aug 6, 2016

@hansl glad to know they're going to use webpack

Mind to share with us why you believe webpack isn't suitable for libraries yet? Just curious...

@hansl
Copy link
Contributor Author

hansl commented Aug 7, 2016

I don't think this PR is the right place for this discussion so I'll be short; Angular-CLI is not suitable for libraries (yet). Webpack is suitable for apps, not libraries, because it's not meant to output files that will be published to npm. It's meant to bundle/pack files that will be served. I might move our demo-app serving and building to webpack though as it's faster than what we have here, but for now this fills my current set of goals to not be dependent on the CLI.

@hansl
Copy link
Contributor Author

hansl commented Aug 19, 2016

@jelbourn: Ready for a second pass, and you'll love it; I added a gulp release task that checks if you're logged in then build then for each component go in their dir and npm publish. And of course log you out at the end. Wheee.

'use strict';
const path = require('path');


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comment here pointing people to the appropriate location for the tasks?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@@ -13,14 +13,13 @@ const config = {
useAllAngular2AppRoots: true,
specs: [ path.join(__dirname, '../e2e/**/*.e2e.ts') ],
baseUrl: E2E_BASE_URL,
allScriptsTimeout: 30000,
getPageTimeout: 30000,
allScriptsTimeout: 120000,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we have a TODO to lower this back down?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll only have more tests, so I don't see a future where this will go down significantly.

@jelbourn
Copy link
Member

LGTM aside from last few comments

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants